package com.helios.news.mapper;

import java.util.List;

import com.helios.news.bean.News;

public interface NewsMapper {

    public News get(Integer id);
    
    public List<News> gets(Integer index, Integer rows);
    
    public int getCount();
    
    public int insert(News bean);

    public int update(News bean);
    
    public int delete(Integer id);
}